set(COMPONENT_SRCS
	"main.c" 
        "Real_Time.c" 
        "Encoder.c" 
        "Maintain.c" 
        "CRC16.c" 
        "FactoryTest.c"  
        "heartbeat.c"
        
        "Buzzer.c"
        "mac.c" 
        "nvs.c" 
        "load_cert.c" 
        
        "temperature_control_sub_module/Tool.c" 
        "temperature_control_sub_module/TempADC.c" 
        "temperature_control_sub_module/pid.c" 
        "temperature_control_sub_module/FanCtrl.c" 

        "aws_esp32/aws_iot_client_main.c" 
        "aws_esp32/aws_iot_connect.c" 
        "aws_esp32/aws_iot_Publish.c" 
        "aws_esp32/aws_iot_Subscribe.c" 
        "aws_esp32/MqttPublish_Data.c" 
        "aws_esp32/MqttSubscribe_Data.c" 

        "ble/gatt.c" 
        "ble/base64.c" 
        "ble/blufi_security.c" 
        "ble/blufi_init.c" 
        "wifi/ota.c" 
        "wifi/softap.c" 
        "wifi/station.c" 

        "LCD/HT162X.c" 
        "LCD/HT162X_Pin.c" 
        "LCD/HT162X_Lcd.c" 
        "LCD/Lcd_AWS_Interface.c" 
        "LCD/HT162X_Parts.c" 
        "LCD/HT162X_Parts_Num.c" 
        "LCD/UI.c" 

        "MCU_Mold/MCU_AbstractDigitron.c" 
        "MCU_Mold/MCU_Time.c" 
        "MCU_Mold/MCU_F_C_Convert.c" 
	)

set(COMPONENT_ADD_INCLUDEDIRS
	"."
	"${CMAKE_CURRENT_LIST_DIR}"
        "../main/aws_esp32"
	)

idf_component_register(SRCS "${COMPONENT_SRCS}"
			        INCLUDE_DIRS ${COMPONENT_ADD_INCLUDEDIRS}
			)